import { createApp } from './mini-vue'

const App = {
  data: () => ({
    title: 'mini vue'
  }),
  render() {
    const h3 = document.createElement('h3')
    // @ts-ignore
    h3.textContent = this.title
    return h3
  }
}

createApp(App).mount('#app')